package com.saver.modules.sys.entity;


import javax.persistence.*;
import java.util.Date;

/**
 * 验证码
 *
 * @author yuxiaolong
 * @email 1005471232@qq.com
 * @date 2018年09月29日 下午10:38
 */
@Entity
@Table(name = "sys_captcha")
public class SysCaptchaEntity {

    @Id
    @Column(name = "uuid")
    private String uuid;
    /**
     * 验证码
     */
    @Column(name = "code")
    private String code;
    /**
     * 过期时间
     */
    @Column(name = "expire_time")
    @Temporal(TemporalType.TIMESTAMP)
    private Date expireTime;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }
}
